import { preventDefault } from './preventDefault'
import { stopPropagation } from './stopPropagation'

/**
 * @param {Event} e
 */
export function stopEvent(e: Event): void {
  preventDefault(e)
  stopPropagation(e)
} 